package myfirstrcp;

import myfirstrcp.views.LeftView;
import myfirstrcp.views.RightView;

import org.eclipse.swt.SWT;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		layout.addView(LeftView.class.getName(), SWT.LEFT, 0.2f, layout.getEditorArea());
		layout.addView(RightView.class.getName(), SWT.RIGHT, 0.8f, layout.getEditorArea());
	}
}
